package view;

import model.SpeakerListModel;
import view.MainWindow.NamesRef;
import view.MainWindow.RoomsRef;

import com.google.inject.AbstractModule;
import com.google.inject.Singleton;

public class DefaultMainWindowModule extends AbstractModule {

	@Override
	protected void configure() {
		bind(String.class).annotatedWith(RoomsRef.class).toInstance("data.rooms");
		bind(String.class).annotatedWith(NamesRef.class).toInstance("data.names");
		bind(MainWindow.class).asEagerSingleton();
		bind(SpeakerListModel.class).in(Singleton.class);
	}
}

